const Mock = require("mockjs")
let data = Mock.mock({
  "data|34":[
    {
      "id|+1":1,  // 生成id，自增+1
      "currentConfirm":"@integer(0,10000)",  // 生成一个0-10000的随机数
      "countConfirm":"@integer(100,199999)",
    }
  ]
})
let datas = Mock.mock({
  "data|34":[
    {
      "id|+1":1,  // 生成id，自增+1
      "currentConfirm":"@integer(0,10000)",  // 生成一个0-10000的随机数
      "countConfirm":"@integer(100,199999)",
    }
  ]
})

Mock.mock(/citys/,'get',()=>{
  return data
})
Mock.mock(/cityss/,'get',()=>{
  return datas
})